package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.HashMap;
import java.util.Map;

/**
 * @Description 蜀山宗门事件日志
 * @Author cwq
 * @Data 2022/3/26 18:18
 */
@FieldTypeAnnotation(tableName = "t_l_activity_shushan_event_record")
public class LogShuShanEventRecord {

    @FieldTypeAnnotation(desc = "活动id")
    private long activityId;
    @FieldTypeAnnotation(desc = "用户id")
    private long userId;
    @FieldTypeAnnotation(desc = "事件类型")
    private int type;
    @FieldTypeAnnotation(desc = "事件id")
    private int eventId;
    @FieldTypeAnnotation(desc = "所选择的选项id")
    private int optionsId;
    @FieldTypeAnnotation(desc = "所获奖励")
    private String reward;
    @FieldTypeAnnotation(desc = "刷新时间")
    private int refreshTime;
    @FieldTypeAnnotation(desc = "时间 ms")
    private long time;

    public LogShuShanEventRecord(long activityId, long userId, int type, int eventId, int optionsId, String reward, int refreshTime, long time) {
        this.activityId = activityId;
        this.userId = userId;
        this.type = type;
        this.eventId = eventId;
        this.optionsId = optionsId;
        this.reward = reward;
        this.refreshTime = refreshTime;
        this.time = time;
    }

    public long getActivityId() {
        return activityId;
    }

    public void setActivityId(long activityId) {
        this.activityId = activityId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getEventId() {
        return eventId;
    }

    public void setEventId(int eventId) {
        this.eventId = eventId;
    }

    public int getOptionsId() {
        return optionsId;
    }

    public void setOptionsId(int optionsId) {
        this.optionsId = optionsId;
    }

    public String getReward() {
        return reward;
    }

    public void setReward(String reward) {
        this.reward = reward;
    }

    public int getRefreshTime() {
        return refreshTime;
    }

    public void setRefreshTime(int refreshTime) {
        this.refreshTime = refreshTime;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }
}
